using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for AdminPageBase
/// </summary>
public class AdminPageBase : System.Web.UI.Page
{
	public AdminPageBase()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    protected override void OnLoad(EventArgs e)
    {
        this.Title = "Admin Portal";
        if (Session["loggedin"] == null)
        {
            Response.Redirect("~/Admin/login.aspx");
        }
        base.OnLoad(e);
    }

}
